<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>条件渲染</title>
    <!--    引入Vue-->
    <script src="../../static/js/vue.js"></script>
</head>
<body>
<!--装备好一个容器-->
<div id="root">
    <ul>
        <li v-for="(item,index) in students" :key="index">
            {{item.name}}
        </li>
    </ul>
    <ul>
        <li v-for="(item,index) in person" :key="index">
            {{index}}:{{item}}
        </li>
    </ul>
    <ul>
        <li v-for="(item,index) in 10">
            {{item}}
        </li>
    </ul>
</div>
</body>
</html>
<script src="index.js"></script>
